-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Adds check for license header #3203
chore: Adds check for license header #3203
Conversation
Test Results 23 files + 3 304 suites +56 1h 11m 38s ⏱️ + 39m 47s For more details on these failures, see this check. Results for commit 7cfd0c5. ± Comparison against base commit 27a10dc. This pull request removes 7 and adds 8 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Signed-off-by: Konstantina Blazhukova <[email protected]>
497d7a5
to
dea510c
Compare
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, one question to confirm
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3203 +/- ##
==========================================
+ Coverage 78.92% 84.96% +6.03%
==========================================
Files 48 69 +21
Lines 3606 4655 +1049
Branches 841 1042 +201
==========================================
+ Hits 2846 3955 +1109
+ Misses 422 396 -26
+ Partials 338 304 -34
Flags with carried forward coverage won't be shown. Click here to find out more. |
Description:
Changes
Added a new package eslint-plugin-header that implements a rule to check the presence of a particular header.
Technical Details
The rule allow for the usage of regex for certain parts of the header. In our case I have added a regex for the line containing dates.
The regex will work for strings with a single date:
or a dates defining some period
Related issue(s):
Fixes #3192
Notes for reviewer:
Checklist